package com.talos.ums.controller.admin.roleuser.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;

@Schema(description = "管理后台 - 角色用户关系表 Response VO")
@Data
@ExcelIgnoreUnannotated
public class UmsRoleUserRespVO {

    @Schema(description = "", requiredMode = Schema.RequiredMode.REQUIRED, example = "4995")
    @ExcelProperty("")
    private Long id;

    @Schema(description = "用户ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "14760")
    @ExcelProperty("用户ID")
    private Long userId;

    @Schema(description = "角色表ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "14067")
    @ExcelProperty("角色表ID")
    private Long roleId;

    @Schema(description = "用户编码")
    @ExcelProperty("用户编码")
    private String userCode;

    @Schema(description = "角色编码")
    @ExcelProperty("角色编码")
    private String roleCode;

    @Schema(description = "仓库编码")
    @ExcelProperty("仓库编码")
    private String warehouseCode;

    @Schema(description = "创建时间")
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

    @Schema(description = "创建人工号")
    @ExcelProperty("创建人工号")
    private String creatorCode;

    @Schema(description = "创建人姓名", example = "芋艿")
    @ExcelProperty("创建人姓名")
    private String creatorName;

    @Schema(description = "修改时间")
    @ExcelProperty("修改时间")
    private LocalDateTime modifyTime;

    @Schema(description = "修改人工号")
    @ExcelProperty("修改人工号")
    private String modifierCode;

    @Schema(description = "修改人姓名", example = "张三")
    @ExcelProperty("修改人姓名")
    private String modifierName;

    @Schema(description = "租户id", requiredMode = Schema.RequiredMode.REQUIRED, example = "10554")
    @ExcelProperty("租户id")
    private Long tenantId;

    @Schema(description = "创建人id", example = "26522")
    @ExcelProperty("创建人id")
    private Long creatorId;

    @Schema(description = "修改人id", example = "12025")
    @ExcelProperty("修改人id")
    private Long modifierId;

}
